import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-01-04
 * Time: 16:33
 */
public class Test {
    public static void main(String[] args) {
        Stack<Integer> stack=new Stack<>();
        stack.push(1);
        stack.push(2);
        stack.push(3);
        stack.push(4);
        MinStack minStack=new MinStack();
        minStack.push(-2);
        minStack.push(0);
        minStack.push(1);
        minStack.push(-4);
        int ret=  minStack.getMin();
        System.out.println(ret);
    }
}
